#include <iostream>
using namespace std;

int main() 
{
    int a = 0;
    while (cin >> a)
    {
        int n = 0;
        while (a--)
        {
            cin >> n;
            if (n % 2 == 0 & n != 0)
            {
                cout << "YES" << endl;
            }
            else
                cout << "NO" << endl;
        }

    }

}